import { createRouter, createWebHashHistory } from 'vue-router'

export default createRouter({
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('../pages/Home.vue')
    },
    {
      path: '/react:page*',
      name: 'react',
      component: () => import('../pages/myPage.vue')
    },
    {
      path: '/vue:page*',
      name: 'vue',
      component: () => import('../pages/myPageVue.vue')
    }
  ],
  history: createWebHashHistory()
})